<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      a {
        color: red;
      }
      a:link {
        color: green;
      }
      a:visited {
        color: blue;
      }
      a:hover {
        color: yellow;
      }
      a:active {
        color: orange;
      }

      span:hover {
        color: pink;
      }
      span:active {
        color: purple;
      }

      input:focus,
      select:focus {
        background-color: green;
        color: blue;
      }
    </style>
  </head>
  <body>
    <a href="http://www.baidu.com">百度</a>
    <a href="http://www.jd.com">京东</a>
    <span>taobao</span>
    <input type="text" />
    <select>
      <option value="bj">北京</option>
      <option value="xm">厦门</option>
    </select>
  </body>
</html>
